package invest.task;

import invest.strategy.Variable;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;

@Configuration
public class ClearMinPriceVariable {
    @Scheduled(cron="01 20 9 ? * MON-FRI")
    void clearMinPriceVariable() {
        Variable.todayMinPrice = null;
    }
}
